package louie.wendy.redisrepository.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

/**
 * @author louie
 */

@Data
@RedisHash(value = "user")
public class User {
    @Id
    private String id;
    private String name;
    private String mobile;
    private String ip;
    private long loginTime;
}
